<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>webrx</title>
    <script src="../lib/vue.global.prod.js"></script>
</head>
<body>
<div id="app">
    {{msg}}--- Vue({{version}})---{{user}}
    <p v-for="i in 3">{{4 - i}}</p>
</div>
<script>
    const {createApp, ref, version} = Vue
    createApp({
        setup() {
            const user = ref('李四')
            return {
                user
            }
        },
        data(){
            return{
                msg:'hello world',
                version
            }
        }
    }).mount('#app')
</script>
</body>
</html>
